import math
import random


def get_circle():
    # 确定圆的中心
    center = [50,50]
    r = 100
    deg = 0   # 点和中线的夹角
    points = []
    z = 40
    for i in range(0,90):
        add_x = math.sin(math.radians(i)) * r
        add_y = math.cos(math.radians(i)) * r
        x = center[0] + add_x
        y = center[1] - add_y
        point = {'x': x, 'y': y, 'z': z}
        #  z = z + 10
        points.append(point)
    for i in range(90,180):
        add_x = math.cos(math.radians(i - 90)) * r
        add_y = math.sin(math.radians(i - 90)) * r
        x = center[0] + add_x
        y = center[1] + add_y
        point = {'x': x, 'y': y, 'z':  z}
        #  z = z + 10
        points.append(point)
    for i in range(180, 270):
        add_x = math.sin(math.radians(i - 180)) * r
        add_y = math.cos(math.radians(i - 180)) * r
        x = center[0] - add_x
        y = center[1] + add_y
        point = {'x': x, 'y': y, 'z':  z}
        #  z = z + 10
        points.append(point)
    for i in range(270,360):
        add_x = math.cos(math.radians(i - 270)) * r
        add_y = math.sin(math.radians(i - 270)) * r
        x = center[0] - add_x
        y = center[1] - add_y
        point = {'x': x, 'y': y, 'z':  z}
        #  z = z + 10
        points.append(point)
    return points